home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 117 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: EU.net!sun4nl!xs4all!usenet
  2. From: martijnl@xs4all.nl (Martijn Lievaart)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Stack vs. Heap
  5. Date: 2 Jan 1996 15:03:38 GMT
  6. Organization: XS4ALL, networking for the masses
  7. Message-ID: <4cbhga$dra@news.xs4all.nl>
  8. References: <4bv41r$c4v@newsbf02.news.aol.com> <30e33866.9714880@nntp.ix.netcom.com> <30E40F67.27D5@ix.netcom.com>
  9. NNTP-Posting-Host: mas01-15.dial.xs4all.nl
  10. X-Newsreader: WinVN 0.99.6
  11.  
  12. In article <30E40F67.27D5@ix.netcom.com>, susaned@ix.netcom.com says...
  13. .
  14. . (snip)
  15. .
  16. >
  17. >But make sure you're talking Global heap.  The local heap is just as 
  18. >limited as the stack (in fact you as the programmer decide how to allocate 
  19. >your little 64k between stack and local heap).  Plain old "new" is going to 
  20. >allocate out of your local heap, like the Windows call LocalAlloc.  You 
  21. >have to use GlobalAlloc to get your storage from the big sandbox.  All this 
  22. >ridiculousness is enough to make us abandon 16-bit platforms and just write 
  23. >for the 32's.
  24. >
  25. >     - Ned Gladstone
  26.  
  27. Oh come on, use the large model. Win16 is horrible enough but you don't have 
  28. to put up with this. You're still limited (mostly) to 64K per object/array so 
  29. it remains a pain in the ass. I also prefer a serious OS over (most) M$ 
  30. products but who said this was a perfect world?
  31.  
  32.